package VN.EDU.IMIC.DEVELOPER.NGUYENVANTHIEN.ARRAY.BAI3;

public class Model {
	public int TimMin(int List[]) {
		int count = 0;
		int Min = List[0];
		for (int i = 0; i < List.length; i++) {
			if (List[i] < Min) {
				count = i;
			}
		}
		return count;
	}
public int Min(int List[]){
	int timMin = 0;
	int min = List[0];
	for(int i=0;i<List.length;i++){
		if(List[i] <= min){
			timMin = List[i];
		}
	}
	return timMin;
	}
}